/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package matching;

import org.semanticweb.owl.model.OWLClass;

/**
 *
 * @author livia
 */
public abstract class PropertyTriple implements Triple{
	
	Restriction restriction;
	OWLClass conext;
	
	PropertyTriple(Restriction r, OWLClass c) {
		restriction=r;
		conext=c;
	}

	@Override
	public abstract boolean equals(Triple t);

	@Override
	public OWLClass getContext() {
		return conext;
	}

	public Restriction getRestriction() {
		return restriction;
	}

	@Override
	public abstract Object getElement();	

	@Override
	public boolean isClass() {
		return false;
	}

  

}
